<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%String path = request.getContextPath() ;%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> 
<%@ taglib uri="/WEB-INF/tld/ui.tld" prefix="ui" %> 
<%@ taglib uri="/WEB-INF/tld/sys.tld" prefix="sys" %>
<!DOCTYPE html>
<html lang="zh-CN" >
<head>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>资产包占用相信</title>
<style type="text/css">
    .searchArea .fieldBox .label{width: 80px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
</style>
<jsp:include page="../../import.jsp" flush="true" />
<script type="text/javascript" src="<%=path %>/resource/lib/plugins/ajaxfileupload.js"></script>
</head>
<body class="iframeBody">
<div>
	<input type="hidden" id="payId" name="payId" value="${payId}" />
	<input type="hidden" id="minPd" name="minPd" value="${minPd}" />
	<input type="hidden" id="maxPd" name="maxPd" value="${maxPd}" />
</div>
<div id="ligergrid1" class="sq-grid"></div>

<script type="text/javascript">
	var grid = null;
	$(function () {
		var payId = $("#payId").val();
		var minPd = $("#minPd").val();
		var maxPd = $("#maxPd").val();
		var _url = '<%=path%>/ass/asspackinfo/assPackOccupyDetail.do';
    	$("#ligergrid1").ligerGrid({
    		url : _url,
    		method : 'get',
    		parms : {"payId":payId,"minPd":minPd,"maxPd":maxPd},
        	columns: [
	            { display: '期数', name: 'numberPd', width: 100 },
	            { display: '融资状态', name: 'occupyTypeNM', width: 100 },
	            { display: '项目名称', name: 'fncPrjNm', width: 400 }
	        ],
	        usePager: false,
	        isScroll: true,
	        width: '100%',
	        height: '100%'
    	});
	    grid = liger.get("ligergrid1");
	});

	frameElement.dialog.onCancel = function () {
	     frameElement.dialog.close();
	}
	
</script>
</body>
</html>